﻿import request from '/@/utils/request';
enum Api {
  Addcar_xilie = '/api/car_xilie/add',
  Deletecar_xilie = '/api/car_xilie/delete',
  Updatecar_xilie = '/api/car_xilie/update',
  Pagecar_xilie = '/api/car_xilie/page',
}

// 增加色系
export const addcar_xilie = (params?: any) =>
	request({
		url: Api.Addcar_xilie,
		method: 'post',
		data: params,
	});

// 删除色系
export const deletecar_xilie = (params?: any) => 
	request({
			url: Api.Deletecar_xilie,
			method: 'post',
			data: params,
		});

// 编辑色系
export const updatecar_xilie = (params?: any) => 
	request({
			url: Api.Updatecar_xilie,
			method: 'post',
			data: params,
		});

// 分页查询色系
export const pagecar_xilie = (params?: any) => 
	request({
			url: Api.Pagecar_xilie,
			method: 'post',
			data: params,
		});


